package com.lingxu.api.ztb.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 分包/劳务外包管理表
 * </p>
 *
 * @author admin
 * @since 2025-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("API_SUBCONTRACT_MANAGEMENT")
@ApiModel(value="SubcontractManagement对象", description="分包/劳务外包管理表")
public class SubcontractManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目名称")
    @TableField("PROJECT_NAME")
    private String projectName;

    @ApiModelProperty(value = "项目编号")
    @TableField("PROJECT_CODE")
    private String projectCode;

    @ApiModelProperty(value = "标段名称")
    @TableField("SECTION_NAME")
    private String sectionName;

    @ApiModelProperty(value = "标段编号")
    @TableField("SECTION_CODE")
    private String sectionCode;

    @ApiModelProperty(value = "承包单位")
    @TableField("CONTRACTOR")
    private String contractor;

    @ApiModelProperty(value = "类型(分包/劳务外包)")
    @TableField("CONTRACT_TYPE")
    private String contractType;

    @ApiModelProperty(value = "分包/外包工程")
    @TableField("SUBCONTRACT_PROJECT")
    private String subcontractProject;

    @ApiModelProperty(value = "分包/劳务外包单位")
    @TableField("SUBCONTRACT_COMPANY")
    private String subcontractCompany;

    @ApiModelProperty(value = "报批材料(文件名 另提供附件)")
    @TableField("APPROVAL_MATERIAL")
    private String approvalMaterial;

    @ApiModelProperty(value = "批复文件(文件名 另提供附件)")
    @TableField("APPROVAL_FILE")
    private String approvalFile;

    @ApiModelProperty(value = "批复时间")
    @TableField("APPROVAL_DATE")
    private Date approvalDate;

    @ApiModelProperty(value = "分包/外包合同(文件名 另提供附件)")
    @TableField("CONTRACT_FILE")
    private String contractFile;

    @ApiModelProperty(value = "合同备案(文件名 另提供附件)")
    @TableField("CONTRACT_RECORD_FILE")
    private String contractRecordFile;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "分包/外包合同编号")
    @TableField("CONTRACT_RECORD_ID")
    private String contractRecordId;

    @ApiModelProperty(value = "批复文件中文名")
    @TableField("FILENAME")
    private String fileName;


}
